#ifndef DEFINIRMODE_H
#define DEFINIRMODE_H

#include <QDialog>
#include "damechinoise.h"
#include "reseau.h"


namespace Ui {
    class definirMode;
}

class definirMode : public QDialog
{
    Q_OBJECT

public:
    explicit definirMode(QWidget *parent = 0);
    ~definirMode();
    void erreurPseudo();
private:
    Ui::definirMode *ui;
    Reseau *r;
    DameChinoise *dame;
    QString pseudo ;
    QString conn;
    int test;
public slots:
    void on_okButton_clicked();
    void donneesRecues();
    void erreurSocket(QAbstractSocket::SocketError error);
    void connecte();

private slots:
    void on_annulerButton_clicked();
};

#endif // DEFINIRMODE_H
